package com.shuzu;

public class Shuz {
    public static void main(String[] args) {
        int[] arr = {23, 44, 32, 45, 23, 65, 23};
        int a = 0;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 2 == 1) {
                a = arr[i];
            }
        }
        System.out.println(a);
    }
}